<template>
    <div>
        <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="培养计划" name="TrainCourseManage">
                <TrainCourseManage></TrainCourseManage>
            </el-tab-pane>
            <el-tab-pane label="课程管理" name="CourseByTeacherManage">
                <CourseByTeacherManage></CourseByTeacherManage>
            </el-tab-pane>
            <el-tab-pane label="课表分配" name="TimetableManage">
                <TimetableManage></TimetableManage>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>
    import CourseByTeacherManage from "../../components/admin/CourseByTeacherManage";
    import TrainCourseManage from "../../components/admin/TrainCourseManage";
    import TimetableManage from "../../components/admin/TimetableManage";

    export default {
        name: "AdminCourseManage",
        data() {
            return {
                activeName: 'TimetableManage'
            };
        },
        components: {
            TrainCourseManage,
            CourseByTeacherManage,
            TimetableManage,
        },
        methods: {
            handleClick(tab, event) {
                console.log(tab, event);
                console.log(tab, event);
            },
        }
    };
</script>

<style scoped>

</style>